package com.example.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

/**
 * @author zhouxl
 * @DATE 2020/12/24
 * @descriptoin
 */
@WebService(
        name = "CommonService", // 暴露服务名称
        targetNamespace = "http://webservice.example.com/" // 命名空间,一般是接口的包名倒序
)
public interface CommonService {

    @WebMethod
    @WebResult(name = "String", targetNamespace = "")
    String sayHello(@WebParam(name = "userName") String name);

}
